package com.ytzl.itrip.service;

import com.ytzl.itrip.pojo.ItripImage;
import com.ytzl.itrip.common.Page;
import com.ytzl.itrip.vo.ItripImageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripImageService {

    public ItripImage getItripImageById(@Param(value = "id") Long id) throws Exception;

    public List<ItripImageVO> getItripImageListByMap(Map
                                                             <String, Object> param) throws Exception;

    public Integer getItripImageCountByMap(Map
                                                   <String, Object> param) throws Exception;

    public Integer saveItripImage(ItripImage itripImage) throws Exception;

    public Integer modifyItripImage(ItripImage itripImage) throws Exception;

    public Integer removeItripImageById(@Param(value = "id") Long id) throws Exception;

//    public Page<ItripImage> queryItripImagePageByMap(Map
//                                                             <String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Integer removeItripImageByIds(@Param(value = "ids") Long[] ids) throws Exception;
}
